package org.wms.minbearwcs.dao.agv.impl;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Repository;
import org.wms.minbearwcs.dao.agv.inf.AgvMissionDetailDao;
import org.wms.minbearwcs.entity.Mapper.agv.AgvMissionDetailMapper;
import org.wms.minbearwcs.entity.PO.agv.AgvMissionDetail;

@Repository
@RequiredArgsConstructor
public class AgvMissionDetailDaoImpl implements AgvMissionDetailDao {

    private final AgvMissionDetailMapper mapper;

    @Override
    public boolean insert(AgvMissionDetail agvMissionDetail) {
        return mapper.insert(agvMissionDetail) == 1;
    }
}
